3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to create and manipulate boxes. See "Boxes" for the definition of a box.
You can use the Q3Box_New function to create a new box.
TQ3GeometryObject Q3Box_New (const TQ3BoxData *boxData);
You can use the Q3Box_Submit function to submit an immediate box for drawing, picking, bounding, or writing.
TQ3Status Q3Box_Submit (
const TQ3BoxData *boxData,
TQ3ViewObject view);
You can use the Q3Box_GetData function to get the data that defines a box and its attributes.
TQ3Status Q3Box_GetData (
TQ3GeometryObject box,
TQ3BoxData *boxData);
You can use the Q3Box_SetData function to set the data that defines a box and its attributes.
TQ3Status Q3Box_SetData (
TQ3GeometryObject box,
const TQ3BoxData *boxData);
You can use the Q3Box_EmptyData function to release the memory occupied by the data structure returned by a previous call to Q3Box_GetData .
TQ3Status Q3Box_EmptyData (TQ3BoxData *boxData);
You can use the Q3Box_GetOrigin function to get the origin of a box.
TQ3Status Q3Box_GetOrigin (
TQ3GeometryObject box,
TQ3Point3D *origin);
You can use the Q3Box_SetOrigin function to set the origin of a box.
TQ3Status Q3Box_SetOrigin (
TQ3GeometryObject box,
const TQ3Point3D *origin);
You can use the Q3Box_GetOrientation function to get the orientation of a box.
TQ3Status Q3Box_GetOrientation (
TQ3GeometryObject box,
TQ3Vector3D *orientation);
You can use the Q3Box_SetOrientation function to set the orientation of a box.
TQ3Status Q3Box_SetOrientation (
TQ3GeometryObject box,
const TQ3Vector3D *orientation);
You can use the Q3Box_GetMajorAxis function to get the major axis of a box.
TQ3Status Q3Box_GetMajorAxis (
TQ3GeometryObject box,
TQ3Vector3D *majorAxis);
You can use the Q3Box_SetMajorAxis function to set the major axis of a box.
TQ3Status Q3Box_SetMajorAxis (
TQ3GeometryObject box,
const TQ3Vector3D *majorAxis);
You can use the Q3Box_GetMinorAxis function to get the minor axis of a box.
TQ3Status Q3Box_GetMinorAxis (
TQ3GeometryObject box,
TQ3Vector3D *minorAxis);
You can use the Q3Box_SetMinorAxis function to set the minor axis of a box.
TQ3Status Q3Box_SetMinorAxis (
TQ3GeometryObject box,
const TQ3Vector3D *minorAxis);
You can use the Q3Box_GetFaceAttributeSet function to get the attribute set of a face of a box.
TQ3Status Q3Box_GetFaceAttributeSet (
TQ3GeometryObject box,
unsigned long faceIndex,
TQ3AttributeSet *faceAttributeSet);
You can use the Q3Box_SetFaceAttributeSet function to set the attribute set of a face of a box.
TQ3Status Q3Box_SetFaceAttributeSet (
TQ3GeometryObject box,
unsigned long faceIndex,
TQ3AttributeSet faceAttributeSet);
Previous | QD3D Book | Overview | Chapter Contents | Next |